package com.movie.ticketing.entity;

import java.util.List;

public class UserResponse<T> {
    private int code;
    private T data;  // 使用泛型支持不同类型的数据
    private String message;

    // Getters and Setters
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}